package com.tuanzi.loan.business.entity.application;

import com.tuanzi.loan.core.entity.AuditEntity;
import lombok.Data;

import javax.persistence.*;
import java.io.Serializable;
import java.util.Date;

/**
 * @Auther: hequnayu
 * @Date: 2019/7/31 13:57
 * @Description:
 */
@Data
@Entity
@Table(name = "loan_application_export")
public class LoanApplicationExport extends AuditEntity implements Serializable {

    private static final long serialVersionUID = 3445753084846667715L;
    @Id
    @Column(name = "id")
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    private Long id;

    @Column(name = "NAME")
    private String name;

    @Column(name = "TITLE")
    private String title;

    @Column(name = "SUBTITLE")
    private String subtitle;

    @Column(name = "SUBTITLE2")
    private String subtitle2;

    @Column(name = "TYPE")
    private Integer type;

    @Column(name = "EXPORT_GROUP_ID")
    private Integer exportGroupId;

    @Column(name = "POSITION")
    private Integer position;

//    @Column(name = "ORDER_NUM")
//    private Integer orderNum;

    @Column(name = "STATUS")
    private Integer status;

    @Column(name = "MIN_VERSION_CODE")
    private Float minVersionCode;

    @Column(name = "MAX_VERSION_CODE")
    private Float maxVersionCode;

    @Column(name = "START_TIME")
    private Date startTime;

    @Column(name = "END_TIME")
    private Date endTime;

    @Column(name = "EXTRA")
    private String extra;

    @Column(name = "IMGURL")
    private String imgurl;

    @Column(name = "AF_CLICK_IMGURL")
    private String afClickImgurl;

    @Column(name = "MUST_LOGIN")
    private Boolean mustLogin;

    @Column(name = "LAUNCH")
    private String launch;

    @Column(name = "TARGET_TITLE")
    private String targetTitle;

    @Column(name = "TARGETURL")
    private String targeturl;

    @Column(name = "USER_TYPES")
    private String userTypes;

    @Column(name = "DIY_LAUNCH_PARAM")
    private String diyLaunchParam;

    @Column(name = "BADGE")
    private String badge;

    @Column(name = "REPLACE_CONDITION")
    private String replaceCondition;
}
